[new release] alcotest (5 packages) (1.8.0) #26284
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Alcotest is a lightweight and colourful test framework
CHANGES:
Add
match_raises
, a generalized version ofcheck_raises
(Add a more generic check_raises mirage/alcotest#88, added match_raises a generalized version of check_raises mirage/alcotest#386, @JoanThibault)
Update JaneStreet core and async to v0.16 (Update JaneStreet core and async. mirage/alcotest#390 @tmcgilchrist)
Fix division by zero when size of the terminal is incorrectly
reported as zero. (fix Random crashes when running tests in a non-standard terminal mirage/alcotest#356, Fix reporting terminal dimensions mirage/alcotest#381, @MisterDA)
Enable terminal size reporting on macOS and Windows. Also report the
terminal size even when the test is run buffered by Dune.
(Fix reporting terminal dimensions mirage/alcotest#381, Open Windows console handle to retreive dimensions mirage/alcotest#396, @MisterDA)
Allow overriding the number of columns with
ALCOTEST_COLUMNS
envvar. (Manually set output width mirage/alcotest#322, Fix reporting terminal dimensions mirage/alcotest#381, @MisterDA)
Be able to allocate and use user's formatters for stdout/stderr
(Be able to allocate a formatter for stdout/stderr mirage/alcotest#399, @dinosaure)
Stop detecting ocamlci specifically, since there's nothing specific
about it. Simply use the
CI
env var to detect CIs. Improve CIdetection.
(Don't detect ocaml-ci specifically, improve CI detection mirage/alcotest#397, @MisterDA)